package com.lowca.news.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.lowca.news.dao.CategoryDao;
import com.lowca.news.entity.Category;

@Repository
public class CategoryDaoImpl extends BaseDaoImpl<Category, Long> implements CategoryDao {

	@Override
	public List<Category> findByName(String name) {
		return super.findByProperty("name", name);
	}


}
